package com.fenyin.samples.study.parttern.struct.decorate.example1;  
  
public class OrderHeadDecorator extends OrderDecorator{
	
	public OrderHeadDecorator(Order order) {
		super(order);  
	}
	
	@Override
	public void print() {
		printHead();
		super.print();
	}
	
	private void printHead(){
		System.out.println("this is order head");
	}
}
